//
//  XPButton.h
//  QQ
//
//  Created by nhope on 2017/4/27.
//  Copyright © 2017年 xiaopin. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface XPButton : NSButton

///////////////////
////    文字    ////
///////////////////

/// 普通状态下的图片
@property (nonatomic, strong) IBInspectable NSImage *normalImage;
/// 鼠标经过时的高亮图片
@property (nonatomic, strong) IBInspectable NSImage *hoverImage;
/// 鼠标按钮时的图片
@property (nonatomic, strong) IBInspectable NSImage *pressImage;
/// 按钮禁用时的图片
@property (nonatomic, strong) IBInspectable NSImage *disableImage;

///////////////////
////    图片    ////
///////////////////

/// 普通状态下的图片
@property (nonatomic, copy) IBInspectable NSString *normalTitle;
/// 鼠标经过时的文字
@property (nonatomic, copy) IBInspectable NSString *hoverTitle;
/// 鼠标按下时的文字
@property (nonatomic, copy) IBInspectable NSString *pressTitle;
/// 按钮禁用时的文字
@property (nonatomic, copy) IBInspectable NSString *disableTitle;

//////////////////////
////    文字颜色    ////
//////////////////////

/// 普通状态下的文字颜色
@property (nonatomic, strong) IBInspectable NSColor *normalTitleColor;
/// 鼠标经过时的文字颜色
@property (nonatomic, strong) IBInspectable NSColor *hoverTitleColor;
/// 鼠标按下时的文字颜色
@property (nonatomic, strong) IBInspectable NSColor *pressTitleColor;
/// 按钮禁用时的文字颜色
@property (nonatomic, strong) IBInspectable NSColor *disableTitleColor;

@end
